package model.contrainte;

import java.util.List;

public class CreateurContrainteContrat implements CreateurContrainte{

	public Contrainte creerContrainte(Object[] contenu) {
		List<TypeContrat> listeContrat = (List<TypeContrat>) contenu[0];
		return new ContrainteContrat(listeContrat);
	}

	public TypeContrainte getTypeContrainte() {
		return TypeContrainte.CONTRAT;
	}

}
